Multilingual business intelligence for actions

ABSTRACT

Technology is discussed herein for identifying trending actions within a group of posts matching a query. A group of posts can be selected based on specified actions, action targets, or parameters such as author age, location, gender, when the posts were posted or what keywords they contain. Selected posts can be divided into sentences and a dependency structure can be created for each sentence classifying portions of the sentence as actions or action targets. Statistics can be generated for each sentence or post indicating whether it matches the actions, action targets, or other parameters specified in the query. Based on these statistics, additional information can be gathered to respond to questions posed in the query.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 14/586,074, filed on Dec. 30, 2014, now U.S. Pat. No. 9,830,404, and entitled “MULTILINGUAL BUSINESS INTELLIGENCE FOR ACTIONS,” the disclosure of which is hereby incorporated herein in its entirety by reference.

BACKGROUND

Users spend an immense amount of time interacting with content on social media websites. On one popular social media website, for example, over a billion active users spend a total of over ten million hours each month interacting with the website. These users often produce hundreds of millions of content items, e.g. “posts,” each day. When users access such social media websites, the website can select content items such as other users' posts, news feeds, event notifications, and advertisements to display to the users. Selecting content items that users are likely to find helpful or relevant increases the chances that users will interact with those content items and that they will return to the website in the future.

Over time, topics and actions discussed on social media fall into and out of favor. Topics or actions that are currently being performed or discussed are referred to as “trending.” Determining trending topics and actions can be extremely valuable in selecting content items or in convincing advertisers to utilize social media channels to reach potential customers. For example, trending topics and actions can be helpful to inform marketing decisions, to provide recommendations for other users, to predict resource usage, to draw analogies to other similar topics and actions, etc. However, classifying a topic or action as trending can be difficult. For example, trends that may exist for a segment of social media contributors, such as those who share a particular geographical location, may not be readily apparent from an analysis of general social media posts. Furthermore, performing an in-depth analysis on combinations of the millions of social media posts that are created every hour can become computationally intractable.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating an overview of devices on which some implementations of the disclosed technology can operate.

FIG. 2 is a block diagram illustrating an overview of an environment in which some implementations of the disclosed technology can operate.

FIG. 3 is a block diagram illustrating components which, in some implementations, can be used in a system employing the disclosed technology.

FIG. 4 is a flow diagram illustrating a process used in some implementations for identifying trending actions for a query.

FIG. 5 is a flow diagram illustrating a process used in some implementations for selecting a set of posts based on a query.

FIG. 6 is a flow diagram illustrating a process used in some implementations for generating statistics in response to a query in relation to a selected set of posts.

DETAILED DESCRIPTION

A multilingual business intelligence system is disclosed that is configured to identify trending actions by analyzing language dependency structures in a group of content items that match a query. In various implementations, queries specify one or more of: action keywords or identifiers, action target keywords or identifiers, or additional criteria. The multilingual business intelligence system can locate content items that match the query. For one or more content items, the multilingual business intelligence system can generate a language dependency structure that identifies the actions and action targets in that content item. The multilingual business intelligence system can use the dependency structures to generate statistics that are responsive to the query.

A “content item,” also referred to as a “post,” as used herein, can be any item including text, images, audio, video, or other multi-media, that potentially contains an identification of an action. As examples, a post can be anything used in a social media site such as a wall post, comment, status update, message, fan message, news story, event, or other item that can contain sentences or action identifiers. As used herein, an “action” is any identifier, such as one or more words, a set of characters, pointer, etc., within a language snippet corresponding to something that can be performed. In various implementations, actions are: any verb or verb phrase, any verb or verb phrase excluding a defined list of verbs or verb phrases; or identifiers corresponding to a closed set of actions such as—feeling, watching, reading, listening to, drinking, eating, playing, traveling to, looking for, and exercising; or a combination thereof. As used herein, an “action target” is any identifier, such as one or more words, a set of characters, pointer, etc., within a language snippet corresponding to one or more objects of an action, i.e. what that action is being performed in relation to, how it is being performed, when it is being performed, where it is being performed, etc. In various implementations, action targets are: any noun or noun phrase, any adjective or adjective phrase; or identifiers corresponding to a closed set of action targets such as a list of—feelings, movies, TV shows, books, magazines, websites, articles, music, radio programs, speeches, foods/drinks, games, locations, etc.; or a combination thereof.

Queries can be in one of four categories: (1) specifying one or more actions, (2) specifying one or more action targets, (3) specifying both of one or more actions and one or more action targets, or (4) specifying neither of an action nor an action target. Examples of the type of query in each category are: (1) “How many people have reported watching something in the last day?” (2) “What are the ages of people that have reported doing something in relation to comedy in the last week?” (3) “What is the ratio of women to men that have reported going to the mall today?” (4) “What are the top five actions people in San Francisco reported taking in the past month?” Queries can be specified in this type of natural language format or can be specified in a more query-specific format such as “SELECT trendingActions WHERE action=actionID_1 and postAuthorAge>12 and postAuthorAge<20.” In some implementations, the multilingual business intelligence system can build queries automatically based on input to a form, script, or other method of providing query parameters.

Based on keywords and identifiers from the query, the multilingual business intelligence system can select a set of posts relevant to the query. The multilingual business intelligence system can select relevant posts where: the posts have particular query-specified content such as a keyword, URL, image, video, etc.; the posts have specific externals, such as where the posts are published, when they were published, how long they are, etc.; the posts' authors are associated with specified criteria such as a specified location, a specified age range, a particular gender, a particular language, a specified belief, a particular organization or group, etc. Additional details regarding obtaining posts relevant to a query are discussed below in relation to FIG. 5.

The multilingual business intelligence system can generate statistics responsive to the query by determining which posts match the query and computing statistics accordingly. Computed statistics can be any data specified in the query. In some implementations, computed statistics can be a relative value such as a count, percentage, or ratio within a group (i.e. what percentage of the posts by authors in Los Angeles match action criteria). In some implementations, computed statistics can be an absolute count (i.e. how many posts match action criteria). In some implementations, computed statistics can identify specific posts, post attributes, or post authors (i.e. provide a list of users who reported visiting www.example.com or provide a time-based graph for the number of users who reported visiting www.example.com). In some implementations, computed statistics can provide currently trending actions or action targets. In some implementations, computed statistics can provide currently trending topics (see Contrastive Multilingual Business Intelligence, attorney document number 124179656.1, filed concurrently with this application) using a group of posts identifying a particular action or action target as at least one of the comparative groups (e.g. what are the trending topics for users in Chicago vs. users in Dallas who reported buying a car in the past year.) In some implementations, computed statistics can include other calculations, data representations, comparisons, etc. Additional details regarding generating statistics that are responsive to a query are discussed below in relation to FIG. 6.

The multilingual business intelligence system can obtain information directly from query results such as which users, how many users, or what type of users, are reporting what actions or type of actions. Alternatively or in addition, the multilingual business intelligence system can use identified trending actions and corresponding posts to select content items or to determine appropriate advertising for particular users. This can be accomplished by identifying a category, such as a post location or user attribute, (e.g. age, gender, associated location, friend network, associated topic, etc.), for the trending action/action target. When a web page associated with that category (e.g. a user classified in the category is identified as viewing that web page, a topic on the web page has that category, etc.) is served, the multilingual business intelligence system can incorporate in that web page content associated with the trending action or customized for the trending action/action target (e.g. an advertisement, social media content items that may be of interest, etc.). For example, the multilingual business intelligence system can identify that users in Chicago (category) are listening (action) to a particular type of music (action target). When subsequent users who have been identified as being in Chicago interact with a social media web site, the multilingual business intelligence system can customize ads for an online music provider to highlight that the identified type of music. As another example, the multilingual business intelligence system can identify that posts to football fan pages include a trending action of “Seahawks.” Content selected for football fan pages can be selected to include content items tagged as relating to the Seahawks.

Several implementations of the described technology are discussed below in more detail in reference to the figures. Turning now to the figures, FIG. 1 is a block diagram illustrating an overview of devices 100 on which some implementations of the disclosed technology may operate. The devices can comprise hardware components of a device 100 that identifies trending actions. Device 100 can include one or more input devices 120 that provide input to the CPU (processor) 110, notifying it of actions. The actions are typically mediated by a hardware controller that interprets the signals received from the input device and communicates the information to the CPU 110 using a communication protocol. Input devices 120 include, for example, a mouse, a keyboard, a touchscreen, an infrared sensor, a touchpad, a wearable input device, a camera- or image-based input device, a microphone, or other user input devices.

CPU 110 can be a single processing unit or multiple processing units in a device or distributed across multiple devices. CPU 110 can be coupled to other hardware devices, for example, with the use of a bus, such as a PCI bus or SCSI bus. The CPU 110 can communicate with a hardware controller for devices, such as for a display 130. Display 130 can be used to display text and graphics. In some examples, display 130 provides graphical and textual visual feedback to a user. In some implementations, display 130 includes the input device as part of the display, such as when the input device is a touchscreen or is equipped with an eye direction monitoring system. In some implementations, the display is separate from the input device. Examples of display devices are: an LCD display screen, an LED display screen, a projected display (such as a heads-up display device or a head-mounted device), and so on. Other I/O devices 140 can also be coupled to the processor, such as a network card, video card, audio card, USB, firewire or other external device, camera, printer, speakers, CD-ROM drive, DVD drive, disk drive, or Blu-Ray device.

In some implementations, the device 100 also includes a communication device capable of communicating wirelessly or wire-based with a network node. The communication device can communicate with another device or a server through a network using, for example, TCP/IP protocols. Device 100 can utilize the communication device to distribute operations across multiple network devices.

The CPU 110 has access to a memory 150. A memory includes one or more of various hardware devices for volatile and non-volatile storage, and can include both read-only and writable memory. For example, a memory can comprise random access memory (RAM), CPU registers, read-only memory (ROM), and writable non-volatile memory, such as flash memory, hard drives, floppy disks, CDs, DVDs, magnetic storage devices, tape drives, device buffers, and so forth. A memory is not a propagating signal divorced from underlying hardware; a memory is thus non-transitory. Memory 150 includes program memory 160 that stores programs and software, such as an operating system 162, trending action identifier 164, and any other application programs 166. Memory 150 also includes data memory 170 that can include posts, action identifications and mappings, action target identifications and mappings, post classifications and keyword indexes, post author information, trending action or action target to content item mappings, stored statistics, configuration data, settings, and user options or preferences which can be provided to the program memory 160 or any element of the device 100.

The disclosed technology is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with the technology include, but are not limited to, personal computers, server computers, handheld or laptop devices, cellular telephones, wearable electronics, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.

FIG. 2 is a block diagram illustrating an overview of an environment 200 in which some implementations of the disclosed technology may operate. Environment 200 can include one or more client computing devices 205A-D, examples of which may include device 100. Client computing devices 205 can operate in a networked environment using logical connections 210 through network 230 to one or more remote computers such as a server computing device.

In some implementations, server 210 can be an edge server which receives client requests and coordinates fulfillment of those requests through other servers, such as servers 220A-C. Server computing devices 210 and 220 can comprise computing systems, such as device 100. Though each server computing device 210 and 220 is displayed logically as a single server, server computing devices can each be a distributed computing environment encompassing multiple computing devices located at the same or at geographically disparate physical locations. In some implementations, each server 220 corresponds to a group of servers.

Client computing devices 205 and server computing devices 210 and 220 can each act as a server or client to other server/client devices. Server 210 can connect to a database 215. Servers 220A-C can each connect to a corresponding database 225A-C. As discussed above, each server 220 may correspond to a group of servers, and each of these servers can share a database or can have their own database. Databases 215 and 225 can warehouse (e.g. store) information such as posts, action identifications and mappings, action target identifications and mappings, post classifications and keyword indexes, post author information, trending action or action target to content item mappings, and stored statistics. Though databases 215 and 225 are displayed logically as single units, databases 215 and 225 can each be a distributed computing environment encompassing multiple computing devices, can be located within their corresponding server, or can be located at the same or at geographically disparate physical locations.

Network 230 can be a local area network (LAN) or a wide area network (WAN), but can also be other wired or wireless networks. Network 230 may be the Internet or some other public or private network. The client computing devices 205 can be connected to network 230 through a network interface, such as by wired or wireless communication. While the connections between server 210 and servers 220 are shown as separate connections, these connections can be any kind of local, wide area, wired, or wireless network, including network 230 or a separate public or private network.

FIG. 3 is a block diagram illustrating components 300 which, in some implementations, can be used in a system employing of the disclosed technology. The components 300 include hardware 302, general software 320, and specialized components 340. As discussed above, a system implementing the disclosed technology can use various hardware including central processing units 304, working memory 306, storage memory 308, and input and output devices 310. Components 300 can be implemented in a client computing device such as client computing devices 205 or on a server computing device, such as server computing device 210 or 220.

General software 320 can include various applications including an operating system 322, local programs 324, and a BIOS 326. Specialized components 340 can be subcomponents of a general software application 320, such as a local program 324. Specialized components 340 can include post selector 344, language dependency analyzer 346, statistics generator 348, and components which can be used for controlling and receiving data from the specialized components, such as interface 342.

Post selector 344 can be configured to receive a query through interface 342 and select posts relevant to the query. Relevant posts can be selected based on keywords or identifiers extracted from, or matched to, the query. In some implementations, the query can explicitly state keywords for which posts are to be searched. For example, a query can be entered using two fields where a first field allows a user to enter action keywords and a second field allows a user to enter action target keywords. In some implementations, posts can be structured such that particular portions of the posts are identified as the action portion or the action target portion. In these implementations, and where the query specifies a specific action or action target, posts can be searched by searching the relevant portion of posts for the specified action or action target. In some implementations, a query can be unstructured, and post selector 344 automatically extracts keywords from the query. For example, post selector 344 can be configured to identify and extract action (verb) keywords as potential actions and object (noun) or descriptive (adjective) keywords as potential action targets. In some implementations, a set of actions or action targets are defined with corresponding identifiers. For example, the set of actions: feeling, watching, reading, listening to, drinking, eating, playing, traveling to, looking for, exercising, and buying can each be associated with a corresponding identifier. In some implementations, when users add a post to a social media web site, they can tag, or otherwise specify in the post, a relevant action or action target. This will associate the post with a corresponding action identifier or action target identifier. As used herein, such a specified set of actions are referred to as “minutia.”

Post selector 344 can execute a search for a set of posts matching the identified keywords or identifiers. For example, posts could be organized in a SQL type database and for a set of identified keywords K, a search could be executed as: SELECT*FROM postTable, AS posts WHERE postKeyword IN K. Selecting posts relevant to a query is discussed below in more detail in relation to FIG. 5.

Language dependency analyzer 346 can receive a post, such as a post selected by post selector 344, and determine for each sentence within that post a language dependency structure. Language dependency analyzer 346 can accomplish this by dividing a post into sentences. For each sentence, language dependency analyzer 346 can identify whether that sentence has one or more actions and what is the target or what are the targets of those actions. In some implementations, language dependency analyzer builds dependency structures using a classifier such as a support vector machine (SVM) or neural network. Analyzing language dependencies is discussed below in more detail in relation to FIG. 6.

Statistics generator 348 can generate a response to the query received through interface 342 for which a group of posts was selected by post selector 344. Generated “statistics” as used herein can be any set of data, including numbers, images, graphs, data structures, text, audio, etc., that is generated responsive to the query. Depending on the type of query, statistics generator 348 can, using the language dependencies identified by language dependency analyzer 346, determine which posts or sentences within posts match: action(s) specified in the query, if any; action target(s) specified in the query, if any; and additional criteria specified in the query, if any. In some implementations, statistics generator 348 can compute statistics for the determined matching posts or sentences as an absolute count. In various implementations, statistics generator 348 can compute statistics for the determined matching posts or sentences as a comparison to other posts or sentences from the group of posts selected by post selector 344, a random set of posts, a representative selection of posts, or all known posts within a social media system. In some implementations, statistics generator 348 can compute statistics as an answer to an additional question of the query. For example, the query can request a graph of the ages of users who authored posts that report performing a specified action. Generating statistics corresponding to a query is discussed below in more detail in relation to FIG. 6.

Those skilled in the art will appreciate that the components illustrated in FIGS. 1-3 described above, and in each of the flow diagrams discussed below, may be altered in a variety of ways. For example, the order of the logic may be rearranged, substeps may be performed in parallel, illustrated logic may be omitted, other logic may be included, etc.

FIG. 4 is a flow diagram illustrating a process 400 used in some implementations for identifying trending actions for a query. Process 400 begins at block 402 and continues to block 404. At block 404, a query is received. The received query can specify either, both, or neither of one or more actions and one or more action targets. Actions and action targets can be specified identifiers, such as a set of characters where each set can be mapped to an action or action target, or they can be specified as keywords. Such identifiers can be referred to herein as “minutia identifiers.” The received query can be informal, such as a natural language sentence, can be in the form of a search string, such as a SQL statement, or can be a set of inputs from a form or wizard, such as the fields of a web site.

The received query can identify a desired result or result type based on matching posts or parts of posts (e.g. post sentences). For example, identified desired results can be a list of actions, action targets, or action/action target pairs, a count, a percentage, a ratio, a graph, a chart, a table, a map, or specific information related to the matching posts or post parts. In some implementations, queries can request information about post characteristics that match parameters. In some implementations, the query can specify constraint parameters for selecting posts. In some implementations, query result parameters or post selection parameters specify author location, age, gender, race, belief, biometric, group association, friend relationships, type of content the author generally interacts with, etc. For example, a query could request the average age of users in Moscow who have reported exercising in the last two months. In some implementations, query result parameters or post selection parameters can specify qualities about posts such as: keywords, phrases, categories, or labels; length; language; post classifications assigned by the author or assigned by a computing system based on an analysis of the posts, etc. For example, a query could request a map of the locations of users who reported feeling adventurous and included in their post the word “travel.” In some implementations, specified keywords, phrases, categories, labels, or classifications can include both the words specified and equivalents or variations determined by the system. In some implementations, query result parameters or post selection parameters can specify qualities about externals of posts, such as where they are posted, when they were posted, what type of device they were posted from, a range of IP addresses the posts came from, etc. For example, a query could request the top five fan pages that have received the most posts, within the last week, where, in the posts, users have reported interacting with a comedy type action target.

At block 406 a set of posts relevant to the query is selected. Posts can be selected based on action and action target keywords identifiers from the query of block 404, as well as any other parameters specified in the query. Selecting posts relevant to a query is discussed below in more detail in relation to FIG. 5.

At block 408 language dependencies for the selected set of posts are determined and statistics corresponding to the query are generated. Language dependencies can be determined by first dividing each post into sentences. Then for each sentence, the action and action target, if either exists, can be identified. Statistics can then be generated by identifying sentences where the action matches any actions specified in the query and the action target matches any action targets specified in the query. Additional information to respond to the query can be gathered for matching posts, such as information about post authors or about post externals. Creating language dependencies and generating statistics corresponding to the query are discussed in more detail below in relation to FIG. 6.

At block 410 a response is created and provided responding to the query. The query response can integrate statistics generated at block 408 to conform to the format requested in the query. For example, a query can request results as a map, on a city scale, of user locations for users that are performing a particular action. In this example, the statistics generated at block 408 could be a list of user IDs of users who created posts reporting the specified action. At block 410 in this example, city locations for user accounts associated with each user ID can be retrieved and drawn onto a map to provide as a result of the query. The business intelligence system can be configured to generate any type of response such as textual or numerical data, XML or other encoded or tagged data, graphs, tables, maps, charts, images, slides, or other data structures. In some implementations, a set of templates can be defined, either through the query or independently, and the statistics generated at block 408 can be provided to fill in a selected template. Process 400 then continues to block 412, where it ends.

FIG. 5 is a flow diagram illustrating a process 500 used in some implementations for selecting a set of posts based on a query. Process 500 begins at block 502 and continues to block 504. At block 504 a query is received. As discussed above, a query can be one of four types: a type specifying one or more actions and one or more action targets, a type specifying one or more actions; a type specifying one or more action targets, or a type specifying neither an action nor an action target.

At block 506 actions specified in the query are identified. In some implementations, actions are identified by locating within the query identifiers matching one of a set of action identifiers. For example, the set of action identifiers can correspond to the minutia: feeling, watching, reading, listening to, drinking, eating, playing, traveling to, looking for, and exercising. Action identifiers can comprise a type of data structure such as a string, an integer or other number, a pointer, an XML tag, etc. In some implementations, actions can be identified from the query by extracting keywords. In some implementations, extracting keywords can be accomplished by identifying verbs. In some implementations, the action keywords can be extracted by matching them to a set of defined keywords. In some implementations, extracting keywords can be accomplished by identifying verbs that do not exist on an action exclusion list. An action exclusion list can include verbs that are considered less interesting such as “is,” “be,” “am,” “are,” “have,” etc.

At block 508 action targets specified in the query are identified. Similarly to actions, action targets, in some implementations, can be identified by locating within the query identifiers matching one of a set of action target identifiers. Action target identifiers can comprise a type of data structure such as a string, an integer or other number, a pointer, an XML tag, etc. In some implementations, action targets can be identified from the query by extracting keywords. In some implementations, extracting keywords can be accomplished by identifying nouns or adjectives. In some implementations, the action targets can be extracted by matching them to a set of defined action target keywords. In some implementations, extracting keywords can be accomplished by identifying nouns that do not exist on an action target exclusion list. In some implementations, identifying actions or action targets in the query can be performed by generating a dependency structure, as discussed in more detail below, for the query.

At block 510 additional criteria that may be specified in the query can be identified. Additional criteria can be specified as search parameters for the content of posts, for characteristics of post authors, or for the externals of posts. Parameters about posts can include: keywords, phrases, categories or labels; length; language; post classifications assigned by the author or assigned by a computing system based on an analysis of the posts, etc. Parameters about a source or author of posts can include a location, age, gender, race, belief, biometric, group association, friend relationships, type of content the author generally interacts with, etc. Parameters about externals of posts can include where they are posted, when they were posted, what type of device they were posted from, a range of IP addresses the posts came from, etc. Additional post criteria are likely to be specified at least when the query does not specify an action and does not specify an action target.

At block 512 a set of one or more posts can be obtained that match any action, action target, or additional criteria parameters identified at blocks 506-510. This can be accomplished by executing a query based on the parameters from blocks 506-510. In some implementations, parameters can be distilled into a set of keywords and posts can be obtained by searching for posts that contain one or more of the keywords. In some implementations, parameters can be used to search for posts that contain a keyword and also that satisfy other criteria such as a timeframe or author location or age. In some implementations, posts can be stored having portions of the posts already identified as actions and action targets. In these implementations, when a query specifies an action or an action target, the corresponding parts of stored posts can be searched to locate matches. Some of the obtained posts can include at least one sentence that specifies at least one action and at least one action target. These posts are referred to herein as “action posts,” and sentences within action posts that specify the action(s) and action target(s) are referred to herein as “action sentences.” At block 514 the set of obtained posts is returned. At block 516, process 500 ends.

FIG. 6 is a flow diagram illustrating a process 600 used in some implementations for generating statistics in response to a query in relation to a selected set of posts. Process 600 begins at block 602 and continues to block 604. At block 604 a post is received. This can be one of the posts selected using process 500.

At block 606 the received post is divided into individual sentences. Sentences can be identified based on punctuation, structure, word usage, etc. In various implementations, sentences can be grammatically correct sentences or can be any set of consecutive words without requiring any specific structure (e.g. an n-gram). At block 608, a first of the post sentences can be set as a current sentence.

At block 610, process 600 computes whether the current sentence has an action. In social media contexts, sentences may not include an action. For example, a single word post “Absolutely!” would have one sentence that does not include an action. An action for the current sentence can be identified by locating certain words or word types such as verbs, words that end with “ing,” or words that are on a predefined action word list. In some implementations, methods such as using neural networks, SVMs, or other natural language processing and classification techniques can be used to identify and classify portions of sentences. If the current sentence does not include an action, process 600 continues to block 618. If an action in the current sentence is identified, process 600 continues to block 612.

At bock 612, where the query specifies an action, the action identified at block 620 is compared to the action in the query. In some implementations, the query may not specify an action so block 612 would not be performed. If the action identified at block 610 matches the action in the query, process 600 continues to block 614. Otherwise, process 600 continues to block 618.

At block 614, process 600 identifies the target or targets of the action or actions identified at block 610. Similarly to identifying an action, an action target of the current sentence can be identified by locating certain words or word types such as nouns or adjectives or words that are on an action target list. In some implementations, methods such as using neural networks, SVMs, or other natural language processing and classification techniques can be used to identify and classify the action target portions of sentences. Where the sentence includes one or more actions, each with one or more corresponding action targets, a resulting dependency structure can correlate each action with its corresponding action targets.

At block 616, where the query specifies an action target, the action target identified at block 614 is compared to the action target in the query. In some implementations, the query may not specify an action target, so block 614 would not be performed. If the action target identified at block 614 matches the action target in the query, process 600 continues to block 620. Otherwise, process 600 continues to block 618.

At block 618, process 600 updates statistics for the sentence not matching the query. The non-matching statistics can be a count of sentences that do not match the query. In some implementations the non-matching statistics can be updated across executions of process 600 for different posts identified by process 500. The non-matching statistics can be stored on a sentence level (i.e. a number, percentage, ratios, etc. of sentences that do not match the query) or on a post level across executions of process 600 (i.e. a number, percentage, ratios, etc. of posts that do not match the query).

At block 620, process 600 updates statistics for a sentence that match the query. In some implementations, the matching statistics can be a count of sentences that match the query. In some implementations, the statistics can be based on a count of the actions, action targets, or each action and action target paring that match the query. As an example, where a query is “what are people watching” a count can be kept of each action target paired with the action “watching” in a dependency structure. As another example, where a query is “what are people doing in relation to car company X” a count can be kept of each action where the action target is car company X. As a further example, where a query is “what are people doing,” a count can be kept for each action/action target pair. For any type of query, any of action statistics, action target statistics, or action pair statistics, or other statistics such as matching post or sentence counts, can be kept.

Similarly to the non-matching statistics, in some implementations, the matching statistics can be updated across executions of process 600 for different posts identified by process 500. The matching statistics can be stored on a sentence level (i.e. a number, percentage, ratios, etc. of sentences that match the query) or on a post level across executions of process 600 (i.e. a number, percentage, ratios, etc. of posts that match the query). In some implementations, the matching statistics can be updated according to a question specified in the query. This can include gathering additional information about the content of the post received at block 604, about the author of that post, or about externals to that post. For example, the query could specify the average age of users who are users, or are friends of users, who authored posts reporting that they are going home within one week prior to December 25. When a matching post is discovered (a post, authored between December 18-25, with the action “going” and the action target “home”), at block 620 the friends of the user who authored the post can be identified and their average age can be calculated. This average age can be combined with an average age found in other executions of process 600 where another post was located that matches the query parameters.

The query can request information, coupled with actions or action targets, about post authors such as, location, age, gender, race, belief, biometric, group association, friend relationships, type of content the author generally interacts with, etc. Other types of requests that be coupled with actions or action targets in a query are for the content of posts such as: keywords, phrases, categories or labels; post length, language, or classifications assigned by the author or assigned by a computing system based on an analysis of the posts, etc. For example, a query could ask for a percentage of posts in the last two hours where authors have reported watching a specific video and where the post contains the keyword “happy.” Additionally, types of requests that be coupled with actions or action targets in a query are for externals of posts such as, where they are posted, when they were posted, what type of device they were posted from, a range of IP addresses the posts came from, etc. For example, a query could request a ratio of the types of devices that authors send posts from where the posts report feeling frustrated with their mobile phones.

At block 622 process 600 determines whether there are additional sentences that have not been evaluated from the post received at block 604. If there are additional sentences, process 600 continues to block 624 where the next sentence is set as the current sentence to be operated on by the loop between blocks 610-622. If there are no additional sentences, meaning that all the sentences of the post received at block 604 have been evaluated, process 600 continues to block 626.

At block 626 statistics generated during process 600, or across multiple executions of process 600 are returned. In some implementations, the non-matching statistics of block 618 and the matching statistics of block 620 can be combined, such as in a ratio or percentage, to create the returned statistics of process 600. In some implementations, the returned statistics provide the items: actions, action targets, or actions and action target pairs, that have the highest count (i.e. those with a count above a threshold). The number of returned items can be specified in the query, can be a default value, can be those that are in a cluster a threshold amount above a next highest cluster of items, etc. Which type of items (actions, action targets, action and action target pairs, or a combination thereof) is returned can be based on what was requested in the query. For example, if the query requested the top 5% of trending action targets where posts specify the action as “reading,” then only action target type items would be tracked or returned by process 600. Process 600 then continues to block 628, where it ends.

Several implementations of the disclosed technology are described above in reference to the figures. The computing devices on which the described technology may be implemented may include one or more central processing units, memory, input devices (e.g., keyboard and pointing devices), output devices (e.g., display devices), storage devices (e.g., disk drives), and network devices (e.g., network interfaces). The memory and storage devices are computer-readable storage media that can store instructions that implement at least portions of the described technology. In addition, the data structures and message structures can be stored or transmitted via a data transmission medium, such as a signal on a communications link. Various communications links may be used, such as the Internet, a local area network, a wide area network, or a point-to-point dial-up connection. Thus, computer-readable media can comprise computer-readable storage media (e.g., “non-transitory” media) and computer-readable transmission media.

As used herein, being above a threshold means that a value for an item under comparison is above a specified other value, that an item under comparison is among a certain specified number of items with the largest value, or that an item under comparison has a value within a specified top percentage value. As used herein, being below a threshold means that a value for an item under comparison is below a specified other value, that an item under comparison is among a certain specified number of items with the smallest value, or that an item under comparison has a value within a specified bottom percentage value. As used herein, being within a threshold means that a value for an item under comparison is between two specified other values, that an item under comparison is among a middle specified number of items, or that an item under comparison has a value within a middle specified percentage range.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Specific embodiments and implementations have been described herein for purposes of illustration, but various modifications can be made without deviating from the scope of the embodiments and implementations. The specific features and acts described above are disclosed as example forms of implementing the claims that follow. Accordingly, the embodiments and implementations are not limited except as by the appended claims.

Any patents, patent applications, and other references noted above, are incorporated herein by reference. Aspects can be modified, if necessary, to employ the systems, functions, and concepts of the various references described above to provide yet further implementations. If statements or subject matter in a document incorporated by reference conflicts with statements or subject matter of this application, then this application shall control. 

I/we claim:
 1. A method, performed by a computing system, for generating trending action statistics that match a query, comprising: receiving a query identifying one or more of: a search action or a search action target; selecting a set of posts relevant to the query, the set of posts comprising one or more action posts that contain at least one sentence that specifies a post action and a post action target; for one or more selected action posts of the one or more action posts: dividing the selected action post into one or more sentences; creating, for at least one action sentence of the one or more sentences, a dependency structure correlating an action of the action sentence with an action target of the action sentence; determining, based on the dependency structure, that the selected action post matches the query by: determining that the search action specified in the query matches the action identified in the dependency structure; or determining that the search action target specified in the query matches the action target identified in the dependency structure; in response to determining that the selected action post matches the query, updating a count of matching actions or a count of matching action targets corresponding to the action or action target identified in the dependency structure; generating a response to the query by computing statistics based on the count of matching actions or the count of matching action targets; and providing the response to the query.
 2. The method of claim 1 wherein the received query identifies one or more search actions by specifying one or more action keywords.
 3. The method of claim 1 wherein creating the dependency structure comprises identifying words on a predefined action word list.
 4. The method of claim 1 wherein: the received query further identifies additional criteria indicating one or more of: author location; author age; author gender; author group association; post keywords; post length; post language; post location; or post timeframe; and selecting a set of posts relevant to the query is based on the additional criteria.
 5. The method of claim 1 wherein selecting a set of posts relevant to the query comprises automatically identifying and extracting keywords from the query and locating posts that contain the keywords.
 6. The method of claim 5 wherein identifying and extracting keywords from the query comprises: classifying words in the query; identifying, as action keywords, words with an action classification; and excluding, from the identified action keywords, action keywords on an action exclusion list.
 7. The method of claim 1 further comprising: identifying, using the response to the query, a category for one or more trending actions or action targets; receiving a request for a web page, wherein the web page is associated with the identified category; selecting one or more content items that are: related to the one or more trending actions or action targets; or customized for the one or more trending actions or action targets; customizing the web page to include the selected one or more content items; and providing, in response to the request for the web page, the customized web page.
 8. The method of claim 1: wherein the received query identifies one or more actions by specifying one or more minutia identifiers; and wherein the one or more minutia identifiers correspond to a set of actions comprising: feeling, watching, reading, listening to, drinking, eating, playing, traveling to, looking for, and exercising.
 9. The method of claim 1 wherein: the received query specifies additional information to be gathered in relation to posts matching the search action or search action target identified in the query; and generating a response to the query comprises: obtaining, in relation to each of the selected action posts, the additional information specified in the query.
 10. The method of claim 9 wherein the additional information to be gathered is information about authors of posts matching the search action or search action target identified in the query.
 11. The method of claim 1 wherein the computed statistics used to generate the response to the query are further based on a count of non-matching posts or non-matching sentences that, based on another dependency structure generated for each non-matching sentence, do not match the search action specified in the query or do not match the search action target specified in the query.
 12. A computer-readable storage medium storing instructions that, when executed by a computing system, cause the computing system to perform operations for selecting trending action targets matching a query, comprising: receiving a query identifying one or more search actions; identifying, as search criteria, one or more keywords or one or more identifiers for the one or more search actions in the received query; selecting, based on the search criteria, a set of posts relevant to the query, the set of posts comprising one or more action posts that contain at least one sentence that specifies a post action and a post action target; for one or more selected action posts of the one or more action posts: creating a dependency structure for at least one action sentence in the selected action post, wherein the dependency structure correlates an action of the action sentence with an action target of the action sentence; determining, based on the dependency structure, that the selected action post matches the query by determining that at least one of the one or more search actions specified in the query matches the action identified in the dependency structure; and in response to determining that the selected action post matches the query, updating a count of action targets that match the query corresponding to the action target identified in the dependency structure; and providing a response to the query that identifies one or more response action targets based on the count for each of the identified one or more response action targets being above a threshold.
 13. The computer-readable storage medium of claim 12 wherein the received query identifies one or more search actions by specifying one or more action keywords.
 14. The computer-readable storage medium of claim 12 wherein: the received query further identifies additional criteria indicating one or more of: author location; author age; author gender; author group association; post keywords; post length; post language; post location; or post timeframe; and selecting a set of posts relevant to the query is based on the additional criteria.
 15. The computer-readable storage medium of claim 12: wherein selecting a set of posts relevant to the query comprises: classifying words in the query; identifying, as action keywords, words with an action classification; and locating posts that contain the keywords; and wherein identifying words with an action classification comprises excluding, from the identified action keywords, action keywords on an action exclusion list.
 16. The computer-readable storage medium of claim 12 wherein the one or more search actions comprise at least one of: feeling, watching, reading, listening to, drinking, eating, playing, traveling to, looking for, exercising, or buying.
 17. The computer-readable storage medium of claim 12 wherein: the received query specifies additional information to be gathered in relation to posts matching the one or more search actions; and the response to the query comprises: the additional information specified in the query obtained in relation to each of the selected action posts.
 18. The computer-readable storage medium of claim 17 wherein the additional information to be gathered is information about authors of posts matching the one or more search actions identified in the query.
 19. A system for identifying trending actions matching a query, comprising: one or more processors; a memory; an interface configured to receive a query identifying one or more search action targets; a post selector configured to: identify, as search criteria, one or more keywords or one or more identifiers for the one or more search action targets in the received query; and select, based on the search criteria, a set of posts relevant to the query, the set of posts comprising one or more action posts that contain at least one sentence that specifies a post action and a post action target; a language dependency analyzer configured to: for one or more selected action posts of the one or more action posts, create a dependency structure for at least one action sentence in the selected action post, wherein the dependency structure correlates an action of the action sentence with an action target of the action sentence; and a statistics generator configured to: determine, based on the dependency structure, that the selected action post matches the query by determining that at least one of the one or more search action targets specified in the query matches the action target identified in the dependency structure; and in response to determining that the selected action post matches the query, update a count of actions that match the query corresponding to the action identified in the dependency structure; and providing a response to the query that identifies one or more actions based on the count for each of the identified one or more actions being above a threshold.
 20. The system of claim 19 wherein: the received query specifies additional information to be gathered in relation to posts matching the one or more search action targets in the query; the response to the query comprises: the additional information specified in the query obtained in relation to each of the selected action posts; and the additional information to be gathered is information about authors of posts matching the one or more search action targets identified in the query. 